MainLayout = new Object();

MainLayout.initPrettyPhoto = function()
{
    var setting = new Object();
    setting.social_tools = false;
    setting.slideshow = false;
    setting.show_title = false;
    setting.default_width = 800;
    setting.default_height = 600;
    $('a[rel^=prettyPhoto]').prettyPhoto(setting);
    $('a[rel^=prettyPhoto]').prettyPhoto(setting);
}